package com.chance.cc.crawler.development.command.schedule.weibo.api;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.development.command.job.domain.weibo.api.geely.WeiboGeelyKeywordsRealtimeCrawlerSchedulerJob;
import com.chance.cc.crawler.development.command.job.domain.weibo.api.realtime.WeiboKeywordsRealtimeCrawlerSchedulerJob;
import com.chance.cc.crawler.development.command.job.domain.weibo.api.realtime.WeiboUIDRealtimeCrawlerSchedulerJob;
import com.chance.cc.crawler.development.command.job.domain.weibo.api.trace.WeiboKeywordsTraceCrawlerSchedulerJob;
import com.chance.cc.crawler.development.command.job.domain.weibo.api.trace.WeiboUIDTraceCrawlerSchedulerJob;
import com.chance.cc.crawler.development.command.schedule.CommonCrawlerJobTestScheduler;

/**
 * @author lt
 * @version 1.0
 * @date 2021-03-17 11:46:48
 * @email okprog@sina.com
 */
public class WeiboAPICommonCrawlerSchedule extends CommonCrawlerJobTestScheduler {

    public static void main(String[] args) {

//        weiboAPICommonCrawlerScheduleJob(WeiboKeywordsRealtimeCrawlerSchedulerJob.crawlerJobScheduler());
//
//        weiboAPICommonCrawlerScheduleJob(WeiboKeywordsTraceCrawlerSchedulerJob.crawlerJobScheduler());
//
//        weiboAPICommonCrawlerScheduleJob(WeiboUIDRealtimeCrawlerSchedulerJob.crawlerJobScheduler());
//
//        weiboAPICommonCrawlerScheduleJob(WeiboUIDTraceCrawlerSchedulerJob.crawlerJobScheduler());

        weiboAPICommonCrawlerScheduleJob(WeiboGeelyKeywordsRealtimeCrawlerSchedulerJob.crawlerJobScheduler());
    }

    public static void weiboAPICommonCrawlerScheduleJob(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_15.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_15);
    }
}
